
#include<vector>
using std::vector;

#include<iostream>
using std::cout;
using std::endl;
using std::cin;

#include<string>
using std::string;

#include<fstream>
using std::ifstream;

#ifdef WIN32
#include "utility\utility.h"
#include "query\query.h"
#include "lexical\identity.h"
#include "lexical\automaton.h"
#else
#include "utility/utility.h"
#include "query/query.h"
#include "lexical/identity.h"
#include "lexical/automaton.h"
#endif





int main(int argc, char* argv[]){
	string message;
	cout << "input the message please" << endl;
	cin >> message;
	Identity i;

	if(i.Match(message)){
		cout << message << " is a legal identity" << endl;
	}
	else{
		cout << message << " is not a legal identity" << endl;
	}
}
